import {DEFAULT_QUERY_OPTION} from './constants';

const state = {
    domainData: {
        initData: {
            isFetching: false,
            isDealerUser: undefined,
            brands: [],
            permissions: []
        },
        list: {
            isFetching: false,
            total: 0,
            message: '',
            data: []
        },
        detail: {
            isFetching: false,
            data: {},
        },
        submitData: {}
    },
    appState: {
        queryCondition: DEFAULT_QUERY_OPTION,
        queryBySort: {},
        queryDealer: {},
    },
    notification: {},
};

export default state;
